#pragma once
#include "socketsession.h"

class INet
{
public:
	INet() {};
	virtual~INet() {};

	virtual bool Tick() = 0;
	virtual bool Init(const char* ip, const unsigned short port) = 0;
	virtual bool Final() = 0;
	virtual bool SetSessionRemoveTag(SOCKID sock) = 0;
	virtual bool AddSession(SOCKID sock, SocketSession* session ) = 0;
	virtual const char* getPollName() const = 0;
	virtual bool UnpackData(SocketSession* session) = 0;
	virtual void SendMessage() = 0;
	virtual MESSAGE_LIST& GetReceiveMessage() = 0;

	
private:

};
